﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="pop_corpmanager_set.aspx.cs" Inherits="uswinweb.admin.pop_corpmanager_set" %>
<%@ Register TagPrefix="win" TagName="pop_userlist" Src="~/datacontrol/pop_userlist.ascx" %>
<%@ Register TagPrefix="win" TagName="pop_complist" Src="~/datacontrol/pop_complist.ascx" %>
<%@ Register TagPrefix="win" TagName="authoritylist" Src="~/datacontrol/authorityList.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>权限调整</title>
    <link href="../css/comm.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery.js" type="text/javascript"></script>
    <script src="../js/prototype.js" type="text/javascript"></script>
    <script src="../js/effects.js" type="text/javascript"></script>
    <script src="../js/table.js" type="text/javascript"></script>
    <script src="../js/jquery_common.js" type="text/javascript"></script>
    <script src="../js/jquery-choose.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="repcot">
    <table cellpadding="0" cellspacing="0" border="0" class="adtb">
		<thead>
			<tr>
				<td colspan="2" style="position:relative;">权限基本信息</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td width="20%"><p class="zi1">公司选择：</p></td>
				<td>
				<div class="zi2 popxg" style="z-index:100" >
                    <p class="ip1" id="comp_hidd_mino" style="width:280px"><%=cinfo.cname%></p>
                    <input type="hidden" id="comp_hidd_luffy" name="comp_hidd_luffy" value="<%=cinfo.id%>" />
                    <%if(compid<=0||managerid>0){%>
                    <span class="an"></span>
					<div class="cn" style="width:500px;" id="comp_hidd_div">
						<div id="showdata2">
                        <win:pop_complist runat="server" ID="popcomplist" />
                        </div>
					</div>
                    <%}%>
                </div>
				</td>
			</tr>
            <tr>
				<td><p class="zi1">管理员选择：</p></td>
				<td>
				<div class="zi2 popxg" style="z-index:99" >
                    <p class="ip1" id="manager_hidd_mino" style="width:280px"><%=minfo.lname%></p>
                    <input type="hidden" id="manager_hidd_luffy" name="manager_hidd_luffy" value="<%=minfo.id%>" />
                    <%if(managerid<=0){%>
                    <span class="an"></span>
					<div class="cn" style="width:500px;" id="manager_hidd_div">
						<div id="managerdata">
                        <win:pop_userlist runat="server" ID="popuserlist"/>
                        </div>
					</div>
                    <%}%>
                </div>
				</td>
			</tr>
		</tbody>
	</table>
	<div id="authdata"><win:authoritylist runat="server" ID="authlist" /></div>
	<p class="insa">
		<span><input class="save" name="" type="submit" value="提  交" /></span>
		<span><input class="cancel" name="" type="button" value="取  消" onclick="parent.Lightview.hide();"/></span>
	</p>
</div>
    </form>
</body>
<script type="text/javascript">
    jQuery(document).ready(function () {
        choose("popxg");
    });

    function authReLoad() {
        AjaxHelper.Updater('authorityList.ascx', 'authdata', 'cid=<%=compid%>&uid=' + document.getElementById('manager_hidd_luffy').value);
    }

</script>
</html>
